﻿using Consul;
using Consul.AspNetCore;
using Ocelot.Logging;
using Ocelot.Provider.Consul;

namespace ZhaoXi.MSACommerce.AuthService
{
    // public class IPConsulServiceBuilder : DefaultConsulServiceBuilder
    // {
    //     public IPConsulServiceBuilder(Func<ConsulRegistryConfiguration> configurationFactory,
    //         IConsulClientFactory clientFactory, IOcelotLoggerFactory loggerFactory) : base
    //             (configurationFactory, clientFactory, loggerFactory)
    //     {
    //
    //     }
    //
    //     protected override string GetDownstreamHost(ServiceEntry entry, Node node)=> entry.Service.Address;
    // }
}
